package com.example.mediademo.opengl;

import android.opengl.GLES20;

public class OpenGLTools {

    public static int[] createTextureIds(int count) {
        int[] texture = new int[count];
        // 生成纹理(参数对应：纹理数量,存储纹理id的数组，偏移量)
        GLES20.glGenTextures(count,texture,0);
        return texture;
    }

}
